package com.huosu.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 设备工作信息
 * </p>
 *
 * @author hun
 * @since 2019-12-17
 */
@Data
@ApiModel(value = "设备工作信息", description = "设备工作信息")
public class WorkingInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "设备唯一标识")
    private String uuid;

    @ApiModelProperty(value = "连接数")
    private Integer connectCount;

    @ApiModelProperty(value = "总防护数")
    private Integer protectedAllCount;

    @ApiModelProperty(value = "非正常矿机防护数")
    private Integer protectedCount;

    @ApiModelProperty(value = "非正常矿机未防护数")
    private Integer noProtectedCount;

    @ApiModelProperty(value = "算力异常数")
    private Integer abnormalAccount;

    @ApiModelProperty(value = "病毒数")
    private Integer virusCount;

    @ApiModelProperty(value = "抽水数")
    private Integer limitCount;

    @ApiModelProperty(value = "默认数")
    private Integer defaultCount;

    @ApiModelProperty(value = "未知数")
    private Integer unKnowCount;

    @ApiModelProperty(value = "未知币种数")
    private Integer unKnowCoinCount;

    @ApiModelProperty(value = "开机时间")
    private String startTime;

    @ApiModelProperty(value = "1监控模式，2智能模式，3强制模式")
    private Integer mode;

    //必须强制主矿池断开时间
    private int nMustPrimaryTime;
    //更新DNS表时间周期
    private int nUpdateDnsTime;
    //重试矿池链接时间
    private int nConnectRetry;
    //默认币种
    private String coinDefault;

    //算力信息
    private HashInfo hashInfo;

    //算力信息2
    private List<HashInfo2> hashInfo2;
}
